<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
    这是购物车

</body>
<script>
    let userObj = sessionStorage.getItem("token") ? JSON.parse(sessionStorage.getItem("token")) : {};

    if(userObj.isLogin !== "ok"){
        location.href = "login.html";
    }
</script>
</html>